[INFO] fetching crate ffi 0.1.1...
[INFO] fixing ffi-0.1.1 against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] extracting crate ffi 0.1.1 into /workspace/builds/worker-6-tc2/source
[INFO] started tweaking crates.io crate ffi 0.1.1
[INFO] finished tweaking crates.io crate ffi 0.1.1
[INFO] tweaked toml for crates.io crate ffi 0.1.1 written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate ffi 0.1.1 on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate ffi 0.1.1 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 06cbd7986003ecbf1e5d90d84fb346b0c5568f06be0b0b8b5493e2590421eac0
[INFO] running `Command { std: "docker" "start" "06cbd7986003ecbf1e5d90d84fb346b0c5568f06be0b0b8b5493e2590421eac0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "06cbd7986003ecbf1e5d90d84fb346b0c5568f06be0b0b8b5493e2590421eac0" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "06cbd7986003ecbf1e5d90d84fb346b0c5568f06be0b0b8b5493e2590421eac0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "06cbd7986003ecbf1e5d90d84fb346b0c5568f06be0b0b8b5493e2590421eac0" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Compiling proc-macro2 v1.0.75
[INFO] [stderr]     Checking unicode-ident v1.0.12
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling serde v1.0.194
[INFO] [stderr]    Compiling anyhow v1.0.79
[INFO] [stderr]     Checking ident_case v1.0.1
[INFO] [stderr]    Compiling trybuild v1.0.87
[INFO] [stderr]     Checking glob v0.3.1
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]     Checking quote v1.0.35
[INFO] [stderr]     Checking syn v2.0.48
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]     Checking serde_json v1.0.111
[INFO] [stderr]     Checking basic-toml v0.1.8
[INFO] [stderr]     Checking darling_core v0.20.3
[INFO] [stderr]    Compiling serde_derive v1.0.194
[INFO] [stderr]    Compiling darling_macro v0.20.3
[INFO] [stderr]     Checking darling v0.20.3
[INFO] [stderr]    Compiling ffi v0.1.1 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/lib.rs from 2021 edition to 2024
[INFO] [stderr]        Fixed src/lib.rs (6 fixes)
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> src/lib.rs:239:27
[INFO] [stdout]     |
[INFO] [stdout] 232 |           let mut name = None;
[INFO] [stdout]     |               --------
[INFO] [stdout]     |               |
[INFO] [stdout]     |               `name` calls a custom destructor
[INFO] [stdout]     |               `name` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 238 |                   let ty = if let Some(ref ty) = arg.ty {
[INFO] [stdout]     |                       --
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       `ty` calls a custom destructor
[INFO] [stdout]     |                       `ty` will be dropped later as of Edition 2024
[INFO] [stdout] 239 |                       match parse_str::<Type>(ty) {
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             this value will be stored in a temporary; let us call it `#3`
[INFO] [stdout]     |                             up until Edition 2021 `#3` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout] 240 |                           Ok(ty) => quote!(#ty),
[INFO] [stdout]     |                              --
[INFO] [stdout]     |                              |
[INFO] [stdout]     |                              this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]     |                              `#1` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 243 |                   } else if let Some(ref ty) = self.ffi_self_ty {
[INFO] [stdout]     |                   - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout] ...
[INFO] [stdout] 294 | /                     renames.insert(
[INFO] [stdout] 295 | |                         i,
[INFO] [stdout] 296 | |                         FfiFuncRename {
[INFO] [stdout] 297 | |                             rename: rename.clone(),
[INFO] [stdout] 298 | |                             _ty: ty.clone(),
[INFO] [stdout] 299 | |                         },
[INFO] [stdout] 300 | |                     );
[INFO] [stdout]     | |                     -
[INFO] [stdout]     | |                     |
[INFO] [stdout]     | |_____________________this value will be stored in a temporary; let us call it `#2`
[INFO] [stdout]     |                       `#2` will be dropped later as of Edition 2024
[INFO] [stdout]     |
[INFO] [stdout] note: `#3` invokes this custom destructor
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/proc_macro/src/bridge/client.rs:21:0
[INFO] [stdout] note: `name` invokes this custom destructor
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/proc_macro/src/bridge/client.rs:21:0
[INFO] [stdout] note: `ty` invokes this custom destructor
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/proc_macro/src/bridge/client.rs:21:0
[INFO] [stdout] note: `#1` invokes this custom destructor
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/proc_macro/src/bridge/client.rs:21:0
[INFO] [stdout] note: `#2` invokes this custom destructor
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/proc_macro/src/bridge/client.rs:21:0
[INFO] [stdout]     = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout]     = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> src/lib.rs:239:27
[INFO] [stdout]     |
[INFO] [stdout] 232 |           let mut name = None;
[INFO] [stdout]     |               --------
[INFO] [stdout]     |               |
[INFO] [stdout]     |               `name` calls a custom destructor
[INFO] [stdout]     |               `name` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 238 |                   let ty = if let Some(ref ty) = arg.ty {
[INFO] [stdout]     |                       --
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       `ty` calls a custom destructor
[INFO] [stdout]     |                       `ty` will be dropped later as of Edition 2024
[INFO] [stdout] 239 |                       match parse_str::<Type>(ty) {
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             this value will be stored in a temporary; let us call it `#3`
[INFO] [stdout]     |                             up until Edition 2021 `#3` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout] 240 |                           Ok(ty) => quote!(#ty),
[INFO] [stdout]     |                              --
[INFO] [stdout]     |                              |
[INFO] [stdout]     |                              this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]     |                              `#1` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 243 |                   } else if let Some(ref ty) = self.ffi_self_ty {
[INFO] [stdout]     |                   - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout] ...
[INFO] [stdout] 294 | /                     renames.insert(
[INFO] [stdout] 295 | |                         i,
[INFO] [stdout] 296 | |                         FfiFuncRename {
[INFO] [stdout] 297 | |                             rename: rename.clone(),
[INFO] [stdout] 298 | |                             _ty: ty.clone(),
[INFO] [stdout] 299 | |                         },
[INFO] [stdout] 300 | |                     );
[INFO] [stdout]     | |                     -
[INFO] [stdout]     | |                     |
[INFO] [stdout]     | |_____________________this value will be stored in a temporary; let us call it `#2`
[INFO] [stdout]     |                       `#2` will be dropped later as of Edition 2024
[INFO] [stdout]     |
[INFO] [stdout] note: `#3` invokes this custom destructor
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/proc_macro/src/bridge/client.rs:21:0
[INFO] [stdout] note: `name` invokes this custom destructor
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/proc_macro/src/bridge/client.rs:21:0
[INFO] [stdout] note: `ty` invokes this custom destructor
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/proc_macro/src/bridge/client.rs:21:0
[INFO] [stdout] note: `#1` invokes this custom destructor
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/proc_macro/src/bridge/client.rs:21:0
[INFO] [stdout] note: `#2` invokes this custom destructor
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/proc_macro/src/bridge/client.rs:21:0
[INFO] [stdout]     = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout]     = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Migrating tests/test.rs from 2021 edition to 2024
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> src/lib.rs:239:27
[INFO] [stdout]     |
[INFO] [stdout] 232 |           let mut name = None;
[INFO] [stdout]     |               --------
[INFO] [stdout]     |               |
[INFO] [stdout]     |               `name` calls a custom destructor
[INFO] [stdout]     |               `name` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 238 |                   let ty = if let Some(ref ty) = arg.ty {
[INFO] [stdout]     |                       --
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       `ty` calls a custom destructor
[INFO] [stdout]     |                       `ty` will be dropped later as of Edition 2024
[INFO] [stdout] 239 |                       match parse_str::<Type>(ty) {
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             this value will be stored in a temporary; let us call it `#3`
[INFO] [stdout]     |                             up until Edition 2021 `#3` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout] 240 |                           Ok(ty) => quote!(#ty),
[INFO] [stdout]     |                              --
[INFO] [stdout]     |                              |
[INFO] [stdout]     |                              this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]     |                              `#1` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 243 |                   } else if let Some(ref ty) = self.ffi_self_ty {
[INFO] [stdout]     |                   - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout] ...
[INFO] [stdout] 294 | /                     renames.insert(
[INFO] [stdout] 295 | |                         i,
[INFO] [stdout] 296 | |                         FfiFuncRename {
[INFO] [stdout] 297 | |                             rename: rename.clone(),
[INFO] [stdout] 298 | |                             _ty: ty.clone(),
[INFO] [stdout] 299 | |                         },
[INFO] [stdout] 300 | |                     );
[INFO] [stdout]     | |                     -
[INFO] [stdout]     | |                     |
[INFO] [stdout]     | |_____________________this value will be stored in a temporary; let us call it `#2`
[INFO] [stdout]     |                       `#2` will be dropped later as of Edition 2024
[INFO] [stdout]     |
[INFO] [stdout] note: `#3` invokes this custom destructor
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/proc_macro/src/bridge/client.rs:21:0
[INFO] [stdout] note: `name` invokes this custom destructor
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/proc_macro/src/bridge/client.rs:21:0
[INFO] [stdout] note: `ty` invokes this custom destructor
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/proc_macro/src/bridge/client.rs:21:0
[INFO] [stdout] note: `#1` invokes this custom destructor
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/proc_macro/src/bridge/client.rs:21:0
[INFO] [stdout] note: `#2` invokes this custom destructor
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/proc_macro/src/bridge/client.rs:21:0
[INFO] [stdout]     = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout]     = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Migrating examples/reverse.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating examples/forward.rs from 2021 edition to 2024
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.01s
[INFO] [stderr] crater-edition-check: ffi v0.1.1 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]    Compiling ffi v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]   --> examples/reverse.rs:20:1
[INFO] [stdout]    |
[INFO] [stdout] 20 | #[ffi(from_ptr, self_ty = "*mut std::ffi::c_void")]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the attribute macro `ffi` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ffi` (example "reverse") due to 1 previous error
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]   --> tests/test.rs:27:1
[INFO] [stdout]    |
[INFO] [stdout] 27 | #[ffi(from_ptr, self_ty = "*mut std::ffi::c_void")]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the attribute macro `ffi` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]   --> examples/forward.rs:20:1
[INFO] [stdout]    |
[INFO] [stdout] 20 | #[ffi(from_ptr, self_ty = "*mut std::ffi::c_void")]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the attribute macro `ffi` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ffi` (example "forward") due to 1 previous error
[INFO] [stderr] error: could not compile `ffi` (test "test") due to 1 previous error
[INFO] running `Command { std: "docker" "inspect" "06cbd7986003ecbf1e5d90d84fb346b0c5568f06be0b0b8b5493e2590421eac0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "06cbd7986003ecbf1e5d90d84fb346b0c5568f06be0b0b8b5493e2590421eac0", kill_on_drop: false }`
[INFO] [stdout] 06cbd7986003ecbf1e5d90d84fb346b0c5568f06be0b0b8b5493e2590421eac0
